package com.biye.api.service;

import com.alibaba.fastjson.JSONObject;
import com.base.common.edu.entity.Department;

import java.util.Map;

/**
 * @Author Maple.Chen
 * @Description 逻辑业务层-Department
 * @Date 18:01 2021/1/31
 **/
public interface DepartmentService {

    // 添加部门
    JSONObject saveDept(Department department);

    // 遍历所有部门
    JSONObject queryListOfDeptName();

    // 修改部门信息
    JSONObject updateDeptInfo(Map<String, Object> requestMap);

    // 删除部门信息
    JSONObject deleteDept(Map<String, Object> map);

    // 部门信息分页查询
    JSONObject queryDept_Paging(Map<String, Object> map);

}
